package org.zfes.snowier.cloud.zbss.layer.tc.biz.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class LAuthUser extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public LAuthUser() {}
	public LAuthUser(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

	 @javax.validation.constraints.NotNull(message="用户名不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=30,message="用户名长度不能大于30")
	  private java.lang.String account;
	 @javax.validation.constraints.NotNull(message="密码不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=36,message="密码长度不能大于36")
	  private java.lang.String password;
	 @javax.validation.constraints.NotNull(message="加密盐值不能为空")
	 @org.hibernate.validator.constraints.Length(min=0,max=60,message="加密盐值长度不能大于60")
	  private java.lang.String salt;
	
	 @org.hibernate.validator.constraints.Length(min=0,max=20,message="默认角色长度不能大于20")
	  private java.lang.String defaultRole;
	
	
	  private java.lang.Integer enabled;
	  private java.lang.String userName;
	//<-------------------------------------------->
	public void setAccount(java.lang.String account){
		this.account=account==null?null:account.trim();
	}
	public java.lang.String getAccount(){
		return this.account;
	}
	public void setPassword(java.lang.String password){
		this.password=password==null?null:password.trim();
	}
	public java.lang.String getPassword(){
		return this.password;
	}
	public void setSalt(java.lang.String salt){
		this.salt=salt==null?null:salt.trim();
	}
	public java.lang.String getSalt(){
		return this.salt;
	}
	public void setDefaultRole(java.lang.String defaultRole){
		this.defaultRole=defaultRole==null?null:defaultRole.trim();
	}
	public java.lang.String getDefaultRole(){
		return this.defaultRole;
	}
	public void setEnabled(java.lang.Integer enabled){
	 this.enabled=enabled;
	}
	public java.lang.Integer getEnabled(){
		return this.enabled;
	}
	public java.lang.String getUserName() {
		return userName;
	}
	public void setUserName(java.lang.String userName) {
		this.userName = userName;
	}

}
